<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            margin: 10px auto ;
            max-width: 500px;
            max-height: 100px;
            background-image: url(images/adv-02.jpg);
            background-size: cover;
        }
        .container{
            width: 500px;
            height: 100px;
            border: 1px solid #333;
        }
    </style>
</head>
<body>
    <div>
        <div class="container" ></div>
    </div>
</body>
</html>